package com.example.front.task;

import com.example.front.arrange.AbstractTask;
import com.example.front.arrange.TaskDependent;
import lombok.extern.slf4j.Slf4j;

/**
 * PluginImpl
 *
 * @author liming2
 * @date 2023/11/1 11:57
 */
@Slf4j
@TaskDependent(Start1Task.class)
public class AaTask extends AbstractTask<String> {

    @Override
    protected String handle() throws Exception {
        Thread.sleep(1000);
        String p = this.getDependResult(Start1Task.class);
        //log.info("AaTask:{}", p);
        return p + "->A";
    }
}
